#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
__title__ = ''
__author__ = 'tinxi'
__mtime__ = '2018/7/3'
# code is far away from bugs with the god animal protecting
    I love animals. They taste delicious.
    
'''
from django import forms
# from django.shortcuts import render, redirect, reverse
# from django.contrib import messages
# from .models import User
from apps.forms import FormsMixin


class EditNewsCategory(forms.Form, FormsMixin):
    pk = forms.IntegerField(error_messages={'required': '必须传入分类id'})
    name = forms.CharField(max_length=100, min_length=1)
